@import './base.less';

html,
body {
  // -webkit-user-select: none; /* Safari */
  // -ms-user-select: none; /* IE 10 and IE 11 */
  // user-select: none; /* Standard syntax */
  font-family: 'PingFangSC-Regular', 'PingFang SC', sans-serif;
  font-size: 14px;
  color: #333;
}

@media screen and (min-width: 1281px) {
  html,
  body {
    font-size: 16px;
  }
}

@media screen and (min-width: 1367px) {
  html,
  body {
    font-size: 16px;
  }
}

@media screen and (min-width: 1536px) {
  html,
  body {
    font-size: 18px;
  }
}

@media screen and (min-width: 1921px) {
  html,
  body {
    font-size: 20px;
  }
}

button.ant-btn-primary {
  background: linear-gradient(135deg, @btn-red-start 0%, @btn-red-end 100%);
}

button.ant-btn-primary:hover,
button.ant-btn-primary:focus {
  background: linear-gradient(135deg, @btn-red-end 0%, @btn-red-start 100%);
}

.ant-modal-close-x {
  height: 40px !important;
  width: 40px !important;
  line-height: 40px !important;
}

.ant-form-inline .ant-form-item {
  margin-bottom: 5px !important;
}

.ant-modal-body {
  padding: 45px !important;
}

.icon.iconfont {
  font-size: 1rem;
}

.iconfontNoSize {
  font-family: "iconfont", sans-serif !important;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

// .ant-menu-sub.ant-menu-inline{
//   background-color: #fff !important;
// }
.ant-menu-inline .ant-menu-item::after,
.ant-menu-vertical-left .ant-menu-item::after,
.ant-menu-vertical-right .ant-menu-item::after,
.ant-menu-vertical .ant-menu-item::after {
  left: 0 !important;
  border-right: 0 !important;
}
// .ant-menu-submenu-title{

// }

// .ant-menu-submenu-selected{
//   color: ;
// }

.icon-icon_offline_download::before {
  position: relative;
  top: 0.2rem;
}

.icon-icon_out::before {
  position: relative;
  top: 0.1rem;
}

.card-container {
  background: #f5f5f5;
  overflow: hidden;
  // padding: 5px !important;
}

.card-container > .ant-tabs-nav {
  margin: 0 !important;
}

.card-container > .ant-tabs-content {
  background-color: #fff;
  height: 93% !important;
}

.card-container > .ant-tabs-content-holder {
  overflow-y: auto;
}

.ant-menu-sub.ant-menu-inline {
  background-color: #fff !important;
}
// 抽离公共样式类
.title-h {
  display: flex;
  align-items: center;
  padding: 0.5rem 0 0.5rem 0;
  font-weight: 600;
  text-align: center;
  font-size: 1.25rem;
  background-color: #fff;
}

.block-wrap-outer {
  border: 1px solid @gray-150;
  border-radius: 0.5rem;
}

.ant-select:not(.ant-select-customize-input) .ant-select-selector {
  border-radius: 4px !important;
}

.ant-table table {
  border-radius: 8px !important;
  overflow: hidden;
}
